package com.bridge.common.interfaces;

import com.bridge.common.base.BaseHttpBean;
import com.bridge.common.bean.Loginbean;
import com.bridge.common.bean.MessageBean;
import com.bridge.common.bean.UserInfoBean;
import com.bridge.common.body.LoginBody;
import com.bridge.common.body.MessageBody;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.QueryMap;

/**
 * @author dingyb
 * created on 2019/8/30 20:49
 * desc 接口定义
 **/

public interface Services {

    //登录
    @POST("api-user/ckManager/login")
    Observable<Loginbean> login(@Body LoginBody body);

    //消息列表
    @POST("api-order/manage/offLine/selectOrderList")
    Observable<MessageBean> selectOrderList(@Body MessageBody body);

    //获取厨房信息
    @POST("api-user/ckManager/getCKManagerUserInfoByToken")
    Observable<UserInfoBean> getCKManagerUserInfoByToken();


}
